package com.cetcs.kmga.common;

import java.util.Date;
import java.util.List;

/**
 * Created by XingWen on 2016/3/29.
 */
public class ShiroUser {
    private int userId;
    private String account;
    private String userName;
    private String password;
    private String telephone;
    private String userDesc;
//    private List<Role> roleList;
    private int errCnt;
    private int createdBy;
    private Date lastLoginTime;
    private int status;
    private List<Integer> optDbs;
    private List<Integer> optTbs;
    private List<Integer> optDocs;
    private List<Integer> optResources;

    public List<Integer> getOptResources() {
        return optResources;
    }

    public void setOptResources(List<Integer> optResources) {
        this.optResources = optResources;
    }

    public List<Integer> getOptDbs() {
        return optDbs;
    }

    public void setOptDbs(List<Integer> optDbs) {
        this.optDbs = optDbs;
    }

    public List<Integer> getOptTbs() {
        return optTbs;
    }

    public void setOptTbs(List<Integer> optTbs) {
        this.optTbs = optTbs;
    }

    public int getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(int createdBy) {
        this.createdBy = createdBy;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getErrCnt() {
        return errCnt;
    }

    public void setErrCnt(int errCnt) {
        this.errCnt = errCnt;
    }

    public Date getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(Date lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

//    public List<Role> getRoleList() {
//        return roleList;
//    }
//
//    public void setRoleList(List<Role> roleList) {
//        this.roleList = roleList;
//    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUserDesc() {
        return userDesc;
    }

    public void setUserDesc(String userDesc) {
        this.userDesc = userDesc;
    }

    public List<Integer> getOptDocs() {
        return optDocs;
    }

    public void setOptDocs(List<Integer> optDocs) {
        this.optDocs = optDocs;
    }
}
